Printer use with Hollywood

Find quick help here to get you started with Hollywood
Post Reply
User avatar
Redlion
Posts: 96
Joined: Sun Jul 10, 2011 5:05 am
Location: Perth, Western Australia

Printer use with Hollywood

Post by Redlion »

Hi,

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

Thanks
----------------------------------------------------------------------------------------
Redlion
Sam460 Lite
A4000 A3000 A2000 A1200 A1000 A600 A500 CD32
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Printer use with Hollywood

Post by airsoftsoftwair »

Sorry, that's currently not possible. Maybe external programs could do the job for you.
User avatar
lazi
Posts: 627
Joined: Thu Feb 24, 2011 11:08 pm

Re: Printer use with Hollywood

Post 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.
User avatar
root
Posts: 23
Joined: Sun Feb 14, 2010 12:24 pm

Re: Printer use with Hollywood

Post 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!
Post Reply