Sorry guys.  I should have said "DEVICES FILE" not "PRINTERS FILE " in my 
request below. 
 



From: [email protected]
To: [email protected]
Subject: wlp
Date: Thu, 22 Sep 2011 20:00:13 -0500





Hi guys:
 
I'm back for another kick at using a windows printer from jbase;
 
I have built my own printer system in that I specify from inside an application 
what type of printer I need.  For example a  "L"abel printer, "S"tatement 
printer etc.
 
When the application runs, it then pulls a menu of printers that can handle 
this type of paper, and displays the menu of all printers available for it.  
The operator then choosed a printer, whether it be local or remote and the 
report is printed on the chosen printer.  I got this idea from Windows.  In an 
older version, I used to select the printers automatically from number of the 
port that the terminal was attached to, but this idea got squashed when 
networking came to bear. 
 
I can do this because I use the old 'printers' file as drivers for an epson or 
HP laser printer so that I replace my solid code such as ".bold  text" with the 
appropriate code either for epson or HP laser. Of course the printing is done 
throught the que that is attached to the appropriate printer.
 
Since my printing all comes out left justified when using the wlp printer 
driver.  I am assuming that I must write a driver for the windows printer too.  
So , for example what would be a simple code fed to the printer that would:
 
 Print a specified font (ie courier bold, in 12 pt, and centred on the page.  I 
only use regular , bold, underline,  and point size.  So give me one, and I can 
figure out the rest.
 
Statement to create my que is:
 
   XXWINDOWS prog  wlp -d "xx windows printer"
 
the "XX" in the above could be a store desigation etc.
 
Thanks again.  This problem has been haunting me since I was a pup.
 
Dave
                                          

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to