it depends on your printer & system. if you want to use printer commands directly in your code then u must know the commands for your printer. the algorithm will be:
1. Initialize printer ( <ESC>@ is the command for most dot matrix printers) . 2. Set paper size, tabs (vertical & horizontal) etc. using appropriate printer commands 3. Send the data including embedded printer commands for advancing paper etc. quite some time back, i made a program in clipper for printing purchase orders on dot matrix printer, its still working fine. the simplest printer commands are of dot matrix printers, for other inkjet / laser printers the commands vary from manufacturer to manufacturer. Alternatively, i think MS-Access is very good for this application, all u need is to design a report, where u can specify the paper size, where to print data etc. You don't have to worry about printer commands in this case. regds, -----Original Message----- From: Brian McGarvie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 16, 2002 20:18 To: [EMAIL PROTECTED] Subject: printer_ functions... I have a specific problem ;) I have been asked if it is possible to write a 'simple' application that will print onto Bank Cheques - they will be supplied on a continuous roll aparently, so it'll be one cheque followed by another etc perferated inbetween... So my question is has anyone ever tried this or similar? or even if you have'nt has anyone got any pointers to start me off? Alternativley is there any software already out there? I have been looking but can only find things like Sage, which ha all the stock controll etc etc which is not required, the application will simple be to take a series name's & ammount's and print the cheques... Thanks in advance... -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php