Skip to main content

[archive] Thin Client Spooled File Printing

  • June 1, 2007
  • 5 replies
  • 0 views

[Migrated content. Thread originally posted on 31 May 2007]

Using Thin Client (Version 7.2.1) and running on a Windows 2K3 R2 Server.
We trying to print a spooled file to either an attached printer or any network printer. So far we have had no luck in doing so. We have tried using the "COMMAND.COM /C TYPE [printfile]" command, but loose our Page Break controls when doing so.
Any suggestions of how we can print a spooled file to a printer and keep our form control?

5 replies

[Migrated content. Thread originally posted on 31 May 2007]

Using Thin Client (Version 7.2.1) and running on a Windows 2K3 R2 Server.
We trying to print a spooled file to either an attached printer or any network printer. So far we have had no luck in doing so. We have tried using the "COMMAND.COM /C TYPE [printfile]" command, but loose our Page Break controls when doing so.
Any suggestions of how we can print a spooled file to a printer and keep our form control?
To print locally with Thin Client, you have to print using the Windows spooler. This can be achieved by setting the name (or alias) of the print filename to:
-P SPOOLER
or
-P SPOOLER-DIRECT
or
-Q printername and directives

[Migrated content. Thread originally posted on 31 May 2007]

Using Thin Client (Version 7.2.1) and running on a Windows 2K3 R2 Server.
We trying to print a spooled file to either an attached printer or any network printer. So far we have had no luck in doing so. We have tried using the "COMMAND.COM /C TYPE [printfile]" command, but loose our Page Break controls when doing so.
Any suggestions of how we can print a spooled file to a printer and keep our form control?
Can you tell me a statement to use inside a program in thin-client to send a file from the drive to the printer. We use the following statement inside programs running in dos and it works but it will not work in thin-client.

call "system" using "command.com /c type F:\\tag\\pf\\waldenm >lpt5".

We are using version 7.2.1 on a Windows 2k3 R2 Server.

Thanks

[Migrated content. Thread originally posted on 31 May 2007]

Using Thin Client (Version 7.2.1) and running on a Windows 2K3 R2 Server.
We trying to print a spooled file to either an attached printer or any network printer. So far we have had no luck in doing so. We have tried using the "COMMAND.COM /C TYPE [printfile]" command, but loose our Page Break controls when doing so.
Any suggestions of how we can print a spooled file to a printer and keep our form control?
I don't remember if we have implemented the thin prefix for c$system, but try to add the prefix: @[DISPLAY]:
Like.

CALL "@[DISPLAY]:SYSTEM" USING ...

[Migrated content. Thread originally posted on 31 May 2007]

Using Thin Client (Version 7.2.1) and running on a Windows 2K3 R2 Server.
We trying to print a spooled file to either an attached printer or any network printer. So far we have had no luck in doing so. We have tried using the "COMMAND.COM /C TYPE [printfile]" command, but loose our Page Break controls when doing so.
Any suggestions of how we can print a spooled file to a printer and keep our form control?
actually C$SYSTEM doesn't support @[DISPLAY] syntax.
in order to execute the print of a local file (a file on the client side) to the local port you can do this

call "c$system" using "copy /b f:\\tag\\pf\\waldenm lpt5" CSYS-DESKTOP

copy /b should keep also the Page Break characters.

[Migrated content. Thread originally posted on 31 May 2007]

Using Thin Client (Version 7.2.1) and running on a Windows 2K3 R2 Server.
We trying to print a spooled file to either an attached printer or any network printer. So far we have had no luck in doing so. We have tried using the "COMMAND.COM /C TYPE [printfile]" command, but loose our Page Break controls when doing so.
Any suggestions of how we can print a spooled file to a printer and keep our form control?
Thanks Luca!