| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I am looking for a way to print to a network printer that is similar to how I print to LPT1. To print to LPT1, I am tieing it as if it were a file: 'LPT1' (quad)ntie ¯1 Then I simply (quad)nappend to this "file". Works great for the project I am on. I have played around with the printers method and that will work but not quite the way I want. I have a bunch of files that I open through APL, then spool to LPT1 tied as a file. There are control codes (PCL5) that allow the file to be printed correctly from DOS. I am able to tie my network printer, but I can't seem to nappend to it. Is this possible? I tried the following: '\\servername\\iR5000-PS' (quad)ntie ¯1001 This works, but when I try to append I get: XFHOST ERROR SetFilePointer 2023 0 87 The parameter is incorrect. Can anyopne suggest a solution? As a last resort, I can use the printers method and muck around with the files, but I'd rather find a solution along these lines. Sorry for the ramble. |
|
#2
| |||
| |||
| I've not tried this, but the manual has the following example using []ARBIN: Examples: Send data directly to the printer; the outport of ¯1 specifies LPT1. 'LPT1' []NTIE ¯1 ¯1 []ARBIN 'ABCDE',[]tcnl "Mark" <mbiglow@excite.com> wrote in message news:4b899ebc.0405210957.2efbbcc6@posting.google.c om... > I am looking for a way to print to a network printer that is similar > to how I print to LPT1. To print to LPT1, I am tieing it as if it > were a file: > > 'LPT1' (quad)ntie ¯1 > > Then I simply (quad)nappend to this "file". Works great for the > project I am on. I have played around with the printers method and > that will work but not quite the way I want. I have a bunch of files > that I open through APL, then spool to LPT1 tied as a file. There are > control codes (PCL5) that allow the file to be printed correctly from > DOS. I am able to tie my network printer, but I can't seem to nappend > to it. Is this possible? > > I tried the following: > > '\\servername\\iR5000-PS' (quad)ntie ¯1001 > > This works, but when I try to append I get: > > XFHOST ERROR SetFilePointer 2023 0 87 The parameter is incorrect. > > Can anyopne suggest a solution? As a last resort, I can use the > printers method and muck around with the files, but I'd rather find a > solution along these lines. Sorry for the ramble. |
|
#3
| |||
| |||
| Nice. Sometimes we (I) miss the obvious solutions. Thanks. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.