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...
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...
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...
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...
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...
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...
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...
I'm working on an application that needs the capability to poll a database for items to be printed, and then print to one of several printers that are listed in a database table.
How would I go about doing this in vb?
Any help would be appreciated!
Thanks, Brinson
I'm working on an application that needs the capability to poll a database for items to be printed, and then print those items to one of several printers that are listed in a database table.
How would I go about doing this in java?
Any help would be appreciated!
Thanks, Brinson
I have a Windows 2000 server and a Windows 2000 Professional box. The server has several .asp files that need to access an Access database on the 2000 pro box. How can I do this with ASP?
Since ASP requires a full path to the database, I'm not sure how to set the permissions to allow the...
I have a Windows 2000 server and a Windows 2000 Professional box. The server has several .asp files that need to access an Access database on the 2000 pro box. How should I setup the permissions for this? The 2000 pro box doesn't recognize the IUSR_computername account from the 2000 server...
I have a foxpro database that is being hit by a small .asp application to allow users to see a history of the training classes they have signed up for. The .asp files are stored at: e:/dirpath/tts/. The database is stored in a subdirectory of this at: e:/dirpath/tts/dbfiles/
The problem I...
I have a table that is an extract from our personnel system. I have taken that table and split it up into several other tables based on the application that I'm building. One of the tables is contact_info.
In contact_info, I need to update some of the fields in each record if the record has...
A little background...
I work for a government agency and we have finally gotten approval to use SQL server in production. Now, I am trying to decide which version to buy (standard or enterprise). The way we are setup, SQL Server will only be used for small to medium-sized web applications...
I have two tables (POSITION, CONTACT_INFO) that have, among other items, SSN and Org_Code. I need a query to find which rows in the contact_info table do not have a matching ssn and org code in the position table.
I know in Oracle, there is a MINUS operator which can do this. Is there an...
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.