Printing problems Vax to Unix

Jeff Hoffman wonicon at optusnet.com.au
Tue Aug 29 17:58:45 CDT 2006


Hi

You can set printer defaults  in unix (check out the man pages for lp or 
lpr) so you may not need to do the sed stuff or change the programs with 
initial headings, and check the binary mode transfer.

Alternatively if your users are using PC's & Reflection terminal emulator 
then there are DCL scripts available to print to the default printer on the 
PC, this could be effective for smallish reports, but would require changes 
that could take a bit of thought & experiment.

Jeff

At 05:53 AM 30/08/2006, you wrote:
>Glenn,
>
>As a super quick-and-dirty, you can use awk a/o sed to massage the file 
>before you print it.  Specifically you can add control strings to set the 
>font at the top of the file, convert record terminators, etc.  If you need 
>the control string values for the printer that you're talking to, printing 
>to a file from Word can help you capture these values easily.
>
>Is this approach...
>Elegant? No.
>Flexible between printers from various manufacturers? No.
>Obscure and potentially tedious to maintain? Yes.
>Easy to get up and running without extensive research? Yes.
>
>jb
>
>
>Ken Langendock <Ken at Langendock.com> wrote:
>Glenn, Are you ftp'ing them in Binary mode?
>
>As for the Font size, you may have to add an INITIAL HEADING to set the 
>font to the correct size for the printer you are trying to print on. Vax's 
>have defaults that work well with printers...UNIX machines don't seem to 
>care about anything.
>
>Ken
>
>-----Original Message-----
>From: powerh-l-bounces+ken.langendock=rogers.com at lists.sowder.com 
>[mailto:powerh-l-bounces+ken.langendock=rogers.com at lists.sowder.com] On 
>Behalf Of Glenn Gipman
>Sent: August 29, 2006 2:13 PM
>To: powerh-l at lists.sowder.com
>Subject: Printing problems Vax to Unix
>
>Hi,
>
>Here's the situation:
>
>The client has just moved into a new office and (because of politics) the 
>vax print queues no longer exist. So Quiz reports are being written to 
>disc, transferred to a Unix box using SFTP, then printed from there. It 
>seems that this should work OK but the reports are not printing properly. 
>One problem is the font size. The 2nd problem is the control characters 
>are being interpreted as garbage.
>
>Help! I need a quick fix.
>
>Any help will be much appreciated.
>
>Thanks
>
>Glenn Gipman - Vancouver, B.C.
>--
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l at lists.sowder.com
>Subscribe: "subscribe" in message body to powerh-l-request at lists.sowder.com
>Unsubscribe: "unsubscribe <password>" in message body to 
>powerh-l-request at lists.sowder.com
>http://lists.sowder.com/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
>Add 'site:lists.sowder.com powerh-l' to your search terms to search the 
>list archive at Google.
>
>
>--
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>Mailing list: powerh-l at lists.sowder.com
>Subscribe: &quot;subscribe&quot; in message body to 
>powerh-l-request at lists.sowder.com
>Unsubscribe: &quot;unsubscribe &lt;password&gt;&quot; in message body to 
>powerh-l-request at lists.sowder.com
>http://lists.sowder.com/mailman/listinfo/powerh-l
>This list is closed, thus to post to the list you must be a subscriber.
>Add 'site:lists.sowder.com powerh-l' to your search terms to search the 
>list archive at Google.



More information about the powerh-l mailing list