Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to set up a printer #125

Closed
PiotrPokornowski opened this issue Oct 10, 2024 · 5 comments · Fixed by flybywiresim/installer#480
Closed

Not able to set up a printer #125

PiotrPokornowski opened this issue Oct 10, 2024 · 5 comments · Fixed by flybywiresim/installer#480

Comments

@PiotrPokornowski
Copy link

I can't select a printer in the installer, becase drop-down menu is empty, despite having a printer connected.
Adding a printer manually in the properties.json also didn't help.
Issue exists with running simbridge normally and as admin.
Windows correctly sees the printer, I was able to print a test page.
The rest of simbridge works correctly.

Simbridge release: 0.5.4
A32NX release: Development build 29c52a9
Windows version: 23H2 (OS Build 22631.4112)

Zrzut ekranu 2024-10-10 105722

fbw-simbridge-2024-10-10-00.log

Log from console:

[FBW-SimBridge] info    2024-10-10 10:54:37 [RoutesResolver] TerrainController {/api/v1/terrain}: +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [RouterExplorer] Mapped {/api/v1/terrain/renderingTimestamp, GET} route +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [RouterExplorer] Mapped {/api/v1/terrain/renderingThresholds, GET} route +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [RouterExplorer] Mapped {/api/v1/terrain/renderingFrames, GET} route +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [RouterExplorer] Mapped {/api/v1/terrain/verticalDisplayPath, POST} route +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [RoutesResolver] HealthController {/health}: +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [RouterExplorer] Mapped {/health, GET} route +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [RouterExplorer] Mapped {/health/kill, GET} route +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [NestApplication] Nest application successfully started +1ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [NetworkService] Local IP is 192.168.0.94 +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [NetworkService] mDNS server started, simbridge.local is available +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [NestApplication] FlyByWire SimBridge started on: http://192.168.0.94:8380 +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [McduGateway] Initialised websocket gateway on ws://192.168.0.94:8380/interfaces/v1/mcdu +0ms
[FBW-SimBridge] info    2024-10-10 10:54:37 [PrinterService] Current Printers: POS-80,OneNote (Desktop),Microsoft Print to PDF,clawPDF +0ms
[FBW-SimBridge] warn    2024-10-10 10:54:37 [PrinterService] Printer disabled or null printerName +0ms
[FBW-SimBridge] info    2024-10-10 10:54:39 [TerrainService] Connected to MSFS - KittyHawk - v11.0 +1ms
[FBW-SimBridge] info    2024-10-10 10:54:39 [TerrainService] Read MB of terrainmap: 231.57 +1ms
[FBW-SimBridge] info    2024-10-10 10:54:40 [McduGateway] Client connected +0ms
[FBW-SimBridge] info    2024-10-10 10:54:43 [McduGateway] Client connected +1ms
[FBW-SimBridge] info    2024-10-10 10:54:43 [McduGateway] Simulator connected +0ms
[FBW-SimBridge] info    2024-10-10 10:54:47 [TerrainService] Initialized the map handler +0ms
[FBW-SimBridge] info    2024-10-10 10:54:50 [TerrainService] Initialized the ND renderers +0ms
[FBW-SimBridge] info    2024-10-10 10:54:50 [TerrainService] Terrainmap worker initialized +1ms```
@Lucky38i
Copy link
Member

Can you post your properties.json file please?

@alepouna
Copy link
Member

Seems like the issue might be related with the Installer rather than SimBridge

@Saschl
Copy link
Contributor

Saschl commented Oct 10, 2024

Could be the same in the installer that was solved in simbridge here: dbddf3e

@PiotrPokornowski
Copy link
Author

Can you post your properties.json file please?

Here is original file:

{
    "server": {
        "port": 8380,
        "hidden": true,
        "closeWithMSFS": false
    },
    "printer": {
        "enabled": true,
        "printerName": null,
        "fontSize": 19,
        "paperSize": "A4",
        "margin": 30
    }
}

And here is the one I updated manually:

{
    "server": {
        "port": 8380,
        "hidden": true,
        "closeWithMSFS": false
    },
    "printer": {
        "enabled": true,
        "printerName": "POS-80",
        "fontSize": 19,
        "paperSize": "A4",
        "margin": 30
    }
}

Turns out setting printer name manually actually works. I don't know why it didn't work earlier, either it didn't update properly or I didn't save changes.
So the issue is indeed with the installer and not simbridge. Also even though printer is set to "POS-80" in the config, value in the installer is still "none".

image

@Saschl
Copy link
Contributor

Saschl commented Oct 10, 2024

I have created flybywiresim/installer#480 to fix the selection issue in the installer 👍 Glad to hear it works with the manual selection at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants