printer_create_dc()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mtntrip
Forum Newbie
Posts: 1
Joined: Thu May 16, 2002 5:10 pm

printer_create_dc()

Post 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? :(
pHp_n0ob
Forum Commoner
Posts: 35
Joined: Mon Jul 09, 2012 7:30 am
Location: India

Re: printer_create_dc()

Post by pHp_n0ob »

Post Reply