Creare una coda di stampa con Overlay in Windows

From RVM Wiki
Jump to navigation Jump to search

Scenario

  • Si crea una coda di stampa solo testo che stampa su una porta REDMON che lancia lo script di sovrapposizione PDF che stampa poi il PDF con gsprint
  • Ricordarsi di aggiungere le stampanti nel registry al profilo default users:
After googling the error I found the following solution on redmons homepage:

http://pages.cs.wisc.edu/~ghost/redmon/

"gsprint can't find any printers because RedMon runs as the default 
user which doesn't have any printers. Copy the printer configuration 
in the registry from the current user to the default user. This problem 
is related to using mswinpr2 on Windows NT."

And the solution is found here:
http://pages.cs.wisc.edu/~ghost/redmon/muir.htm

Copying the stringvalue with *the name of the real, working 
printer* (as phrased in part3) found in the registry location. 
Using Start->Run->Regedit (be careful, because it can cause severe 
damage to windows if something wrong is done with regedit):
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices

f.ex. (I suppose in your case, if it was on windows 2000):
String name: "HP DeskJet 722C" (The printername)
String value: "winspool,FILE:"

To the registry location:
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Devices

String name: "HP DeskJet 722C" (The printername)
String value: "winspool,FILE:"

I hope it can be useful to other people :-) 

Best Regards ~ Jørgen Tietze

Riferimenti