Search found 8 matches

by danmcb
Fri Aug 17, 2018 7:25 pm
Forum: PrinterToPDF (Public Domain Version) Bugs & Issues
Topic: "Cannot open raw file for reading"
Replies: 7
Views: 37307

Re: "Cannot open raw file for reading"

I'm afraid that that is a bit hard to do, as my version of the code is now very different. I cleaned up a lot of GOTO's, putting things into functions, and in fact removed a lot of stuff that is not needed at all for my project. You'd hardly recognise my latest version except for a few core ...
by danmcb
Fri Aug 10, 2018 11:32 am
Forum: PrinterToPDF (Public Domain Version) Bugs & Issues
Topic: file format for font
Replies: 2
Views: 31483

Re: file format for font

thank you!
by danmcb
Sun Aug 05, 2018 12:06 pm
Forum: PrinterToPDF (Public Domain Version) Bugs & Issues
Topic: file format for font
Replies: 2
Views: 31483

file format for font

Hi - can you tell me what the file format of the default font (SIEMENS.C16) is? I want to use the code at lower res than 720dpi (bit pointless when my source image is 72dpi) - which I can do in the code but then i think I need to supply a font at that dpi? if so what format does it need to be in ...
by danmcb
Sun Aug 05, 2018 6:31 am
Forum: PrinterToPDF (Public Domain Version) Bugs & Issues
Topic: "Cannot open raw file for reading"
Replies: 7
Views: 37307

Re: "Cannot open raw file for reading"

thank you. what does *seedrow do? is that for compression?

By the way there was a place where it core dumped because seedrow and imagememory were pointing to the same array, but the code tried to free them both. In my code I just added a test to prevent that.
by danmcb
Sat Aug 04, 2018 6:19 am
Forum: General Discussion
Topic: Using the ESC/P code
Replies: 2
Views: 5152

Re: Using the ESC/P code

Thanks. That's fine!
by danmcb
Sat Aug 04, 2018 6:17 am
Forum: PrinterToPDF (Public Domain Version) Bugs & Issues
Topic: "Cannot open raw file for reading"
Replies: 7
Views: 37307

Re: "Cannot open raw file for reading"

in function convertUnixWinMac( ... ) - basically it is trying to open a file for reading which does not exist. I'm not sure why - probably a configuration thing.

But for my purposes this is not so important. Because I would like to use the code on a microcontroller, I need to strip the code down so ...
by danmcb
Fri Aug 03, 2018 10:42 am
Forum: PrinterToPDF (Public Domain Version) Bugs & Issues
Topic: "Cannot open raw file for reading"
Replies: 7
Views: 37307

"Cannot open raw file for reading"

I built the code on a debian virtual machine, and I am using some raw files that I captured myself as input.

It seems to work OK - a bit slow but this is a VM, and some of that might be the SDL window. But once it has decoded the file it then tries to open a couple of "raw" files, one for reading ...
by danmcb
Fri Aug 03, 2018 7:32 am
Forum: General Discussion
Topic: Using the ESC/P code
Replies: 2
Views: 5152

Using the ESC/P code

Hi guys, nice project!

I use an old but quite valued piece of audio test equipment which does many nice things, but the only way to save data is to print to - you guessed it, an Epson dot matrix. A few years ago I made a PIC based prototype which captured the printer port data and saved the raw ...