Page 1 of 1

printer_create_dc()

Posted: Thu May 16, 2002 5:10 pm
by mtntrip
I've been stuck on this windows printer business for a long time now. I am simply trying to set the printer page length and width using printer_set_option().

I have had no success yet.

If I try to use printer_create_dc($handle);

I get:

Warning DocumentContext not created in [page] on line ##, and nothing is printed.

Without trying to create a new DC I don't get any errors, but my page length and width aren't set.

Does this work for everyone else but me? :(

Re: printer_create_dc()

Posted: Sun Oct 14, 2012 10:48 pm
by pHp_n0ob