Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 'alias oprndev not found' from rawprint program
Message
From
18/07/2002 06:54:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Error 'alias oprndev not found' from rawprint program
Miscellaneous
Thread ID:
00679915
Message ID:
00679915
Views:
76
I have an application that is installed on several workstations. They are a mix of Windows 98, 200 professional and XP professionsal. All but one work fine. All were installed from the same setup. When I try to print on that single workstation I get the error 'alias oprndev not found(). In all instances we are printing to an HP LaserJet printer.

In the application, a full report is in memo field in my table. The application allows the user to select a specific row in the table and then prints the contents of that memo field. The Memo field contains an Accounting system saved print file. The code I am using is as follows. Note I am putting the compressed print characters in the file and then add the reeport. Then I send the created file to the printer.

if file('tempfile.txt')
delete file tempfile.txt
endif
m_fil = fcreate('tempfile.txt')
= fwrite(m_fil,'E(s16.66H')
= fclose(m_fil)
copy memo curfile.repdata to tempfile.txt additive
m_prt = getprinter()
do prtfile with 'tempfile.txt', m_prt
Next
Reply
Map
View

Click here to load this message in the networking platform