[comp.windows.ms] printing to a file.

reilly@bnlux1.bnl.gov (kevin reilly) (04/10/91)

I would like info on printing to a file. Specifically an HP DeskJet.

I have done what the manual states and ther seems to be no problems on
creating the actual file, but when I try to print it on the DeskJet
nothing happens. I have used the following commands from DOS.
copy file LPT1:
print file

Both have failed and there are no error messages.
Woul;d anyone have any ideas?

Thank you very much.

reilly@bnlux1.bnl.gov

carl@hpcndpc.CND.HP.COM (Carl Dierschow) (04/11/91)

> I have done what the manual states and ther seems to be no problems on
> creating the actual file, but when I try to print it on the DeskJet
> nothing happens. I have used the following commands from DOS.
> copy file LPT1:
> print file

Did you try
	COPY /B FILE LPT1:
?  If there's a ^Z at the front of the file a plain old COPY will stop at
that point.

Carl Dierschow
Hewlett-Packard Colorado Networks Division
c_dierschow@hpcnd.cnd.hp.com
ihnp4!hplabs!hpcnd!c_dierschow

jerryd@hpgrla.gr.hp.com (Jerry Donovan) (04/12/91)

>I would like info on printing to a file. Specifically an HP DeskJet.
>
>I have done what the manual states and ther seems to be no problems on
>creating the actual file, but when I try to print it on the DeskJet
>nothing happens. I have used the following commands from DOS.
>copy file LPT1:
>print file

You might try the following:
copy /b file LPT1

note: the '/b' parameter can be anywhere on the line.

Jerry Donovan