Search the Community
Showing results for tags 'lpr'.
-
I have a project to print a prn printfile to a barcode printer. File is both binary (fonts and pictures) and text mixed in a format understandable for the printer. I need some advice about the methode to deal and use windows printer spooler. The printers could be connected in network or localy by USB, so easiest is to make that connection by windows. I have not found any easy way to print in the site, just how to setup a new printer or change parameters. I thought printing was the easy part. My program should be used by windows vista, 7, 8 and 10 and sometime in POS environment. Right now I print by FTP to CAB printers, but its not always accepted in some networks or by firewalls. I need to change it, and also be open to use other printers. The option I have seen is windows LPR command, but I dont know if its usable in all windows versions or if it behave different. I tested it from cmd.exe, but have not succeded for the printers I normaly use. Copy to LPT or COM is also an alternative. DIsadvantage is I need to change in driver to connect LPT/COM to the printer and not userfriendly to install. I want a solid solution, not complicated for the user and easy to understand and maintain. Just a procedure in Auto-IT like 'Print ("Printer name", "File")' to put it in the que, and leave the printer maintain to windows. Any ideas or considirations? Where to begin? (soory for the speling, not my naitive language)