I have a VB6 app that needs to print to different printer makes/models using Courier font. The documents are printing, but the font is not Courier. I set the font using Printer.FontName = "Courier", but that made no difference.
Any suggestions? Thanks!
I have my app connected to our CE10 server via the Java SDK and viewing reports, but I am receiving errors when using certain buttons in the viewer.
1. When clicking the arrow to go to the next or previous page, the viewer asks for any optional parameters that were not filled in when the...
Turkbear, thanks for the reply.
Yeah, I've already read those but they don't give me the info I'm looking for. I understand the sdk well enough. I'm looking more for information about how to get the application server talking correctly with the Enterprise server. I just got it at least...
My windows admin has installed CE10 Professional on a W2k3 machine and given me rights to it. I have published a few reports and can preview them fine. I want to now hook it up to my Java/JSP application and I'm running into some difficulties. The application server for the java app is...
I'm not getting any stack traces, because I haven't run into any problems within my application as of yet. The error I receive from the visual database tools is an error complaining about a missing stored proc. Our DBA's are aware of this and think they have a patch for it.
Due to the fact...
Does anyone have any feedback on using the DB2 jdbc type4 driver for connecting to an OS390 DB2 v7 database?
I have been using the type 2, but would much rather use the type 4 if I can. In my testing, I have not run across any problems within my application. However, I have run into a couple of...
I have an activex dll with a function that needs to return a TXTextControl object.
I can get it returned if I set the return type on the function to Object. However if I set the return type to TXTextControl (which is what I would think the type should be), I receive the compile error listed...
vb5prgrmr, thanks for the reply. I tried that at one point and it did not work. I was able to figure the problem out though. The server had been upgraded to Win2000 sp4. SP4 and SP2 have a problem that SP3 fixes. I just rolled back the sp and it worked fine.
I'm developing an ActiveX dll that generates a barcode (using an activex control) and saves a .wmf of the barcode. The .wmf file saves without a problem. I then load the .wmf file into a PictureBox control. I am then using that picturebox to paint a portion of the loaded .wmf file into a...
swampBoogie,
Will this work on DB2 for the mainframe? I was able to get it to successfully work on a test database I have on a Win 2000 box, but I keep getting an error with a begin parenthesis "(" when run on the mainframe (which will is where it will be used).
Thanks for your...
Here is the situation:
I have a property table with various information. This table has a prop_id that identifies each individual property. The table also has a field named prop_orig_id that is a foreign key to the prop_id field of the same table. Therefore, it is a unary relationship.
A...
I have developed a vb .dll that accesses the printers attached to the web server. The .dll is instantiated via an .asp page and that page calls a function to perform the print. I have this working fine on one server, but I can not get it working on this second machine I'm setting up.
The...
spazman...
I had just forgotten to give the SYSTEM account "act as part of operating system" priveleges. Once I did that, it all worked fine.
Thanks for your help!!
I'm trying to impersonate a user so that I can get a listing of printers that are available on a web server. My code is:
Const LOGON32_LOGON_INTERACTIVE = 2
Const LOGON32_PROVIDER_DEFAULT = 0
Public Sub Logon(ByVal strAdminUser As String, ByVal strAdminPassword As String, ByVal...
spazman, thanks for the reply. I found the information on microsoft's website, but it isn't doing the logon. The code is below, but the LogonUser call returns false everytime.
Const LOGON32_LOGON_INTERACTIVE = 2
Const LOGON32_PROVIDER_DEFAULT = 0
Public Sub Logon(ByVal strAdminUser As...
I am developing a print engine in an ActiveX dll that will be instantiated in an asp page. This print engine needs to loop through the Printers collection of the web server, and print to a printer specified by the user. There will be a predefined list of printers for the user to choose from...
I'm researching talking directly with a printer using the API. I can not seem to get a print job to print multiple pages. I thought that the EndPagePrinter function call would end one page, and the the StartPagePrinter would start another one, but everything is printing on one page.
Here is a...
I'm developing a print engine for a project I'm working on and I'm trying to figure out PCL. I'm currently using an HP4050 and can't get the font change from the default monospaced font.
Here is the example that I was trying:
Dim lhPrinter As Long
Dim lReturn As Long
Dim lpcWritten As Long...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.