[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: hp printer initialization from windows
- Subject: Re: hp printer initialization from windows
- From: Todd Sneeringer <sneeritm@YAHOO.COM>
- Date: Thu, 3 Sep 1998 10:05:56 -0700
Julie wrote:
"Is there a windows equivalent of the DOS print command that can be
used to send a file directly to the printer?"
-----------------------
You may want to check out the PCL viewer/printer from
http://www.ndg.com called SwiftView. They have windows and browser
plug-in versions. This should display or print your *.lis files
without adding more printer codes that foul things up. There could be
other similar utilities out there but I haven't seen them yet.
Todd Sneeringer.
Computer Horizons Corp.
---Julie Waggoner <WAGGO000@MAIL.GENMILLS.COM> wrote:
>
> Hello everyone,
>
> I am writing SQRs for Maximo 4.0 using SQR WorkBench v4.1.1 for
Windows
> 95.
> I have a need to send an initialization string to the printer to
pick up
> forms that are set up on the printer and anything I seem to try
doesn't
> work. I have tried to use some of the following solutions:
>
> encode '<27>&l0o0L<27>&f9y3X<27>&a0r0C' into $front
> print $front () code-printer=hplaserjet
>
> declare-printer printer1
> type=hplaserjet
> init-string=<27>&l0o0L<27>&f9y3X<27>&a0r0C
> end-declare
>
> encode '<27>' into $esc
> let $front = $esc || '&l0o0L' || $esc || '&f9y3X' || $esc ||
> '&a0r0C'
> print-direct $front
>
> We need the solution to be Windows only. I have tested different
> printing methods with no success. I have tried creating an .spf file
> and printing the file from the viewer and also running SQRW with the
> printer:wp option to send the report directly to the printer. I
wanted
> to try and print an .lis file after creating it using the -printer:hp
> command, but I don't know how to do this. If I open the .lis file
> through workbench and print it, garbled binary data is printed. Is
> there a windows equivalent of the DOS print command that can be used
to
> send a file directly to the printer?
>
> I was also going to try and use a simple string, such as making the
text
> bold, for testing, but I couldn't find a resource to provide me the hp
> initialization code (we are using an HP Laser Jet 4000 Series PS).
> Anyone know of a good resource?
>
> Could the windows printer drivers be interfering with the string I am
> trying to send? Any ideas? Until we can get the forms to print
> automatically, we are having to use pre-printed forms and the user
does
> not have a dedicated printer (what a mess)!
>
> Thanks for any help you can provide,
> Julie Waggoner
> General Mills
> waggo000@mail.genmills.com
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com