[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 666
  • Last Modified:

Using AssignPrn()

I am trying to write an application that writes data directly to the printer, but when I try to use
AssignPrn(filevariable); I get an error
saying Undeclared identifier: 'AssignPrn'.  Can someone tell me what I'm doing wrong.
0
brettawv
Asked:
brettawv
  • 2
1 Solution
 
kretzschmarCommented:
hi brettawv,

have you included the unit printers in the uses clause?

meikl
0
 
brettawvAuthor Commented:
Yes, I found it just before you answered me.  You deserve the points for answering me so quickly.
Thanks.
0
 
kretzschmarCommented:
;-) thanks too
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now