Page 1 of 1

Printer use with Hollywood

Posted: Sun Feb 15, 2015 2:21 am
by Redlion
Hi,

Is there an easy way to use a printer with Hollywood, text mostly but graphics as well.

Thanks

Re: Printer use with Hollywood

Posted: Mon Feb 16, 2015 10:37 pm
by airsoftsoftwair
Sorry, that's currently not possible. Maybe external programs could do the job for you.

Re: Printer use with Hollywood

Posted: Mon Feb 23, 2015 10:14 pm
by lazi
You could try creating a html file containing and formatted what and how you would like to print.
Then open it by a browser via OpenURL() which is something like a "print preview".
The browser can print it, save it pdf, etc.

Re: Printer use with Hollywood

Posted: Sat Feb 28, 2015 11:53 am
by root
for a couple of years i coded a tool for windows with a simple print support.
Image
First thing ist to read out the registry to found your printer device.
regkeys$ = ReadRegistryKey(#HKEY_CURRENT_USER,"Software/Microsoft/Windows NT/CurrentVersion/Windows/Device")
It can be different on your system.

The second one is easy when you use rundll32.exe like
Run("C:/Windows/system32/rundll32.exe shimgvw.dll ImageView_PrintTo /pt \""..temppf$.."\" \""..printer.."\" \"NULL\" \"NULL\"")

temppf$ <- is a picture
printer <- is my printer device

good luck!