Re: [fpc-pascal] Text Only printing on Windows.

2022-02-09 Thread James Richters via fpc-pascal
Thanks for the information. It's not a Dymo printer, it's a Zebra printer. But maybe it will work in a similar way.. James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Text Only printing on Windows.

2022-02-09 Thread Alexander Grotewohl via fpc-pascal
Is this for a Dymo style printer? The easiest way you might do this nowadays is using the Windows API.. I'm sorry for the sort of pseudo-code but I'm stuck with examples my previous work owns so I have to paraphrase a bit: GetDefaultPrinter (so you don't have to enumerate and then find the righ

[fpc-pascal] Text Only printing on Windows.

2022-02-09 Thread James Richters via fpc-pascal
Way back in the old Turbo Pascal days, it was super simple to send text to a printer. I had written a program that printed text on labels in the order the labels were needed.. the whole thing took me less than an hour to write and labels were spewing out of the printer. I haven't had a need to pr