|
You should try to find and obtain acrobate SDK in order to develop your application.
|
|
|
|
|
mikko laanti wrote: PDFCreator printer driver?
In order for your program to use any print driver, it must be selecting that printer and then perform whatever print operations you require.
Also think about using a library such as this one[^].
Also this CodeProject article[^]might be helpful in the context of PDF creation using a print driver.
It's not clear to me whether you are trying to create a PDF using a print driver or whether you wish to create a PDF directly from your own code?
Chris Meech
I am Canadian. [heard in a local bar]
The America I believe in has always understood that natural harmony is only one meal away from monkey burgers. [Stan Shannon]
GOOD DAY FOR: Bean counters, as the Australian Taxation Office said that prostitutes and strippers could claim tax deductions for adult toys and sexy lingerie. [Associated Press]
|
|
|
|
|
Hello,
I'm trying to create pdf file from my own C code using PDFCreator's driver.
I noticed that the result file was POSTSCRIPT not pdf.
When I updated PDFCreator's driver I noticed that it contains also Ghostscript.
So, is that the real problem? When I use my code to create pdf file using PDFCreator
it just uses it's GhostScript part and that's why result is postscript not pdf.
If so, are there any other drivers that can generate pdf files, anyone know?
|
|
|
|
|
What I think is happening is that the PDFCreator print driver is working corectly. What is typically done is to print to a POSTSCRIPT printer and have the driver produce a file. The result is exactly as you see, a POSTSCRIPT file and not a PDF file. This file must then be input to Ghostscript which will interprate the POSTSCRIPT and produce a PDF file. If you go through the article I linked in my previous post, it explains and implements exactly that.
Chris Meech
I am Canadian. [heard in a local bar]
The America I believe in has always understood that natural harmony is only one meal away from monkey burgers. [Stan Shannon]
GOOD DAY FOR: Bean counters, as the Australian Taxation Office said that prostitutes and strippers could claim tax deductions for adult toys and sexy lingerie. [Associated Press]
|
|
|
|
|
Hello,
I just installed a windows 2000 server. I want to be able to access this server using remote desktop connection. I saw on other server that there is a section "terminal services" in control panel, which i don't have. Should i install this from somewhere? is this what i need so that i can use then remote desktop connection?
Thank you for your help!
|
|
|
|
|
No, remote desktop connection should always work (although just one user may be connected at a time, remote or local).
You only need Terminal Services if you are using the computer as an Application Server. With TS, you AFAIK might need two licences of each use of the software: one per connection to the server and one for the client that is connecting.
Terminal Services just means that the server is able to provide independent sessions for multiple connected users.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Hi Sebastian, thank you for your answer.
However, i asked because i was trying to connect to the server using remote desktop connection, and it doesn't work. In the error message is is written that one possible cause could be the fact te remote desktop is not enabled.
|
|
|
|
|
Windows 2000 do not have a remote desktop connection. Remote desktop connection is available only in windows xp and windows 2003. In windows 2000 you will need to purchase a separate product call terminal service for windows 2000.
You might consider other available too such as RealVNC[^] but you need to read its document much more detail especially relate to security issue.
|
|
|
|
|
Install Terminal Services
When asked, select Administrative mode.
Then you can use Remote Desktop.
|
|
|
|
|
x-trate wrote: I want to be able to access this server using remote desktop connection
The install for Terminal Services should be on the CD, to install it, got to add / remove applications, select windows components toward the bottom is a check mark for Terminal Services. Do the install from there, once it has installed you will need to update the computer with MS, as memory serves there is important updates for it.
On the client side you will need to install remote desktop, search Microsoft for remote desktop or msrdpcli.exe.
You are limited to two people logged on to the box through Remote Desktop. Don’t forget to log off other wise it will leave that user connected.
I have and use both Remote Desktop and VNC, Remote Desktop is by far faster and nicer to use (IMHO). Give it a whirl.
BTW, I use an all Win2k environment (Win2k Clients and Server). It works...
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
Thanks man! That really helped!
|
|
|
|
|
x-trate wrote: Thanks man!
Your welcome. :->
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
Hello,
I'm writing an windows service application to scan for any USB device changes(ie if any USB device was inserted or removed from the system) This has to be an non UI application. I have an service that is declared as follows
MyServiceStatus.dwServiceType = SERVICE_WIN32;
MyServiceStatus.dwCurrentState = SERVICE_START_PENDING;
MyServiceStatus.dwControlsAccepted = SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_HARDWAREPROFILECHANGE ;
MyServiceStatus.dwWin32ExitCode = 0;
MyServiceStatus.dwServiceSpecificExitCode = 0;
MyServiceStatus.dwCheckPoint = 0;
MyServiceStatus.dwWaitHint = 0;
MyServiceStatusHandle = RegisterServiceCtrlHandlerEx("USB Trap Service", MyServiceCtrlHandler,NULL);
I'm registering for messages using the register device notification
memset(&dbdi, 0, sizeof(dbdi));
dbdi.dbcc_size = sizeof(DEV_BROADCAST_DEVICEINTERFACE);
dbdi.dbcc_classguid = GUID_DEVINTERFACE_USB_DEVICE;
dbdi.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
SStatusHandle = RegisterDeviceNotification((HANDLE)MyServiceStatusHandle,(LPVOID)&dbdi,DEVICE_NOTIFY_SERVICE_HANDLE);
The service control handler is as follows
DWORD WINAPI MyServiceCtrlHandler (DWORD Opcode,DWORD dwEventType,LPVOID lpEventData, PVOID lpContext)
{
DWORD status;
switch(Opcode)
{
case SERVICE_CONTROL_DEVICEEVENT:
{
switch((int) dwEventType)
{
case DBT_DEVICEARRIVAL:
break;
case DBT_DEVICEREMOVECOMPLETE:
break;
}
break;
}
}
}
The service is registered and starts and terminates correctly. I'm not receiving any of the device change message.
Any help will be apprecitated
Regards,
murali
|
|
|
|
|
Im struggling to understand how I would go about developing an SNMP proxy agent for non-snmp enabled devices. Thus such devices connnect to a machine that has an IP address and does have a SNMP device. So basic question is how do I monitor non-snmp devices in a SNMP management application. I want to develop the proxy (gateway) in either java or c# but dont know where to start and cant find any examples. If there is any off the shelf components I could use please let me know.
Thanks
|
|
|
|
|
In my opinion, this user guide[^] might give you some idea to do develop your application.
|
|
|
|
|
Hi, I need someone help me to explain about the following TCP/IP command line:
- Nbstat
- Netstat
- Tracert
I already read the command line reference in windows help of windows xp professional but I could not understand about each command line purpose and its example. Please give me some short explaination and its example or provide me any resource which is very easy to understand about the above command line.
|
|
|
|
|
- netstat (see http://en.wikipedia.org/wiki/Netstat)
- tracert (see http://en.wikipedia.org/wiki/Tracert)
- nbstat (A command line program for the problem diagnosis, which supplies protocol statistics and information to TCP/IP connections over NBT (NetBIOS of over TCP/IP). This instruction is available only if TCP/IP protocol were installed. See also Netstat. )
|
|
|
|
|
Thank you very much for your hyperlink.
|
|
|
|
|
When my Windows XP stays idle for 15 minutes,the system freezes with a popup saying "Generic Host Process for Win32 services...". It seems that the scheduler service is crashing (found it via debugging) when it tries to execute system tasks after 15 minutes of inactivity. If I disable the task scheduler service, the problem disappears. I would want to know if it is possible to know which system task is crashing, or if is possible to know what system tasks is trying to do (there is a place in the registry with these tasks?). I don't have anything in C:\Windows\Tasks.
|
|
|
|
|
Miguel A. Vilariño wrote: It seems that the scheduler service is crashing (found it via debugging) when it tries to execute system tasks after 15 minutes of inactivity. If I disable the task scheduler service, the problem disappears. I would want to know if it is possible to know which system task is crashing, or if is possible to know what system tasks is trying to do (there is a place in the registry with these tasks?)
In my opinion, you should use event viewer[^] to check the history of your system performance.
|
|
|
|
|
The event viewer doesn't help me. It shows roughly the same error as the popup (schedsvc.dll crash accessing wrong address).
I can force this error to happen executing Rundll32.exe advapi32.dll,ProcessIdleTasks
I would want to know which one of these idleTasks produces the error.
--
Miguel A. Vilariño
Software Developer
|
|
|
|
|
In my opinion, you should not ignore event viewer. First try to access task manager and go to the tab Process. Then click on the column name Mem Usage in order to sort the system consume size.
But if your computer become crash and not working, ou should return back to your application log in event viewer in order to view an application state of each user.
|
|
|
|
|
Hi ppl,
I connect USB drive in my PC but i get this error:
"F:\ is not accessable. The request could not performed because of an I/O device error".
Where Could be the problem.
Regards
|
|
|
|
|
What is the operating system version of your computer. If you are running windows 2000 or windows xp, it will automatic detect the flash drive for you. But, if your flash drive have another built-in function, it would require addition driver to be install. When you purchase your flash drive you should have a diskette or CDROM distribute that require for driver installation to make a device to utilize full function.
Sometime, its relate to your respond so quickly to your flash drive. You just plug in your flash drive and you didn't wait around one or two minute to wait for windows install driver for that flash drive. Then you will be ablve to use this flash drive. Another solution is change the slot of your flash drive to insert another USB port on your computer.
|
|
|
|
|
My OS is XP Pro. It detect sa new hardware and i see tooltip messgae that my new hardware is ready to use, when i open MyComputer window i can see me USB-Drive when i try to open i get error message.
Maybe it's demaged something in hardware
|
|
|
|