This is a discussion on Limiting print job sizes with Netcat within the Sco Unix forums, part of the Unix Operating Systems category; --> So, I have a Dymo label printer hooked up through a printserver. Because the Dymo client only recognizes NetBios-styles ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| So, I have a Dymo label printer hooked up through a printserver. Because the Dymo client only recognizes NetBios-styles printer selection, I've created a print queue on a Unix box (506) which uses Netcat with a minimalist print script. [Dymo tech support claims that the only p/s they support is the HP 175x, but netcat means never having to say you're sorry. :-)] Wonderful. Then today, a clueless user sent a regular print job to the label printer (the client software insists on installing the labelwriter as a Windows printer; I don't think I can remove it without harming the label process) and ate up a whole bunch of labels, at 3.5 cents each. Ouch. So, I'm wondering if there is a quick and dirty way in the interface script to arbitrarily chop the print job at, say, 5k or so. NYZ -- _________________________________________ Nachman Yaakov Ziskind, EA, LLM awacs@ziskind.us Attorney and Counselor-at-Law http://ziskind.us Economic Group Pension Services http://egps.com Actuaries and Employee Benefit Consultants |
| ||||
| Nachman Yaakov Ziskind typed (on Thu, Sep 09, 2004 at 06:22:43PM -0400): | So, I have a Dymo label printer hooked up through a printserver. Because the | Dymo client only recognizes NetBios-styles printer selection, I've created a | print queue on a Unix box (506) which uses Netcat with a minimalist print | script. [Dymo tech support claims that the only p/s they support is the HP | 175x, but netcat means never having to say you're sorry. :-)] Wonderful. Then | today, a clueless user sent a regular print job to the label printer (the | client software insists on installing the labelwriter as a Windows printer; I | don't think I can remove it without harming the label process) and ate up a | whole bunch of labels, at 3.5 cents each. Ouch. | | So, I'm wondering if there is a quick and dirty way in the interface script to | arbitrarily chop the print job at, say, 5k or so. | Run wc -c against the sixth argument to the interface script. -- JP |